package com.example.AIstudy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableCaching
//2. 开启swagger支持
@EnableSwagger2
@EnableScheduling
@ComponentScan("com.example")
public class AIstudyApplication {

	public static void main(String[] args) {
		SpringApplication.run(AIstudyApplication.class, args);
	}

}
